<?php
/**
 * Created by PhpStorm.
 * User: wx:wenyi2048
 * Date: 2022/3/22 0022
 * Time: 10:25
 */

namespace app\common\validate\mk;


use think\Validate;

class Stores extends Validate
{
    protected $rule = [
        //"name|商店名称" => "require",
        "phone|电话号码"  => "require|unique:mk_stores",
        "types_first_id|店铺分类"=>"require",
        "types_second_id|店铺分类"=>"require",
        "types_third_id|店铺分类"=>"require",
    ];

    static public $apiRule = [
        //"name|商店名称" => "require",
        "phone|电话号码"  => "require|unique:mk_stores",
        "types_first_id|店铺分类"=>"require",
        "types_second_id|店铺分类"=>"require",
        "types_third_id|店铺分类"=>"require",
    ];
}